home *** CD-ROM | disk | FTP | other *** search
/ PC Answers 1995 December / PC Answers December 1995 (disc errors).iso / w95apps / wsdemo1g / ch01.ht_ / ch01.ht
Encoding:
Text File  |  1995-05-09  |  21.4 KB  |  499 lines

  1. <HTML>
  2. <HEAD>
  3. <TITLE>Building Your WebSite: Before You Start</TITLE>
  4. </HEAD>
  5. <BODY>
  6. <H1><img src="../images/website.gif" alt="WebSite" WIDTH=216 HEIGHT=72>
  7. Before You Start</H1>
  8. This book begins with a ``Before You Start'' chapter. You might be tempted to
  9. skip it and just plunge in and install WebSite like any other application. However,
  10. we request that you <I>please read this chapter first!</I>
  11. <P>
  12. We understand you don't want to read a book when you have a new piece of
  13. software to explore, so to make it less painful, we begin with a one-page checklist. This is the same checklist included on an insert in your WebSite package. If
  14. you have answered everything on the list, great! Go to
  15. <a href="ch02.htm">Chapter 2</a> and install
  16. WebSite.
  17. <P>
  18. If you aren't sure about something on the checklist, take a little time and read the
  19. rest of this chapter. You'll find the basic information you need regarding hardware, software, and connectivity requirements. We also discuss the pros and cons
  20. of running WebSite as a desktop application or as a service under Windows NT.
  21. Additional resources are listed if you want more detailed information about any of
  22. the topics covered.
  23. <P>
  24. So sharpen your pencil and complete the checklist, then get ready to bring your
  25. own web to the World Wide Web.
  26. <a name=checklist>
  27. <H2>
  28. WebSite Installation Requirements
  29. </H2>
  30. </a>
  31. Before you install WebSite, please complete this checklist. These requirements are
  32. explained in following sections.
  33. <H3>
  34. Hardware
  35. </H3>
  36. <UL>
  37. <LI>
  38. 80386 or higher microprocessor; 80486 or Pentium recommended
  39. <P>
  40. <LI>
  41. 12MB RAM minimum for Windows NT, 16MB recommended; 8MB RAM for
  42. Windows 95, 12MB recommended
  43. <P>
  44. <LI>
  45. 5MB free hard disk space
  46. <P>
  47. <LI>
  48. VGA video display adapter; SVGA recommended
  49. <P>
  50. <LI>
  51. 3.5'' floppy drive
  52. <P>
  53. <LI>
  54. Network card or modem (9600 BPS minimum; 14.4 or 28.8 KBPS recommended)
  55. </UL>
  56. <H3>
  57. Software
  58. </H3>
  59. <UL>
  60. <LI>
  61. Windows NT 3.5 with long filenames enabled
  62. <BR>
  63. -OR-
  64. <BR>
  65. Windows 95 (Beta M8 minimum)
  66. </UL>
  67. <H3>
  68. Connectivity
  69. </H3>
  70. <UL>
  71. <LI>
  72. TCP/IP protocol stack installed and running
  73. </UL>
  74. <blockquote>
  75. <B>NOTE</B>
  76. <BR>
  77. Your system <I>must</I> be running TCP/IP, even if you do not plan to allow Internet access.
  78. </blockquote>
  79. <UL>
  80. <LI>
  81. IP address: ____.____.____.____
  82. <P>
  83. <LI>
  84. Fully Qualified Domain Name (FQDN) for your server
  85. <I>Hostname.Domain-name</I>: ____________________________
  86. <P>
  87. <LI>
  88. Internet email address for WebSite server administrator: __________________
  89. <P>
  90. <LI>
  91. Domain Name System (DNS) server (optional, but highly recommended)
  92. DNS Server 1: ____.____.____.____  DNS Server 2: ____.____.____.____
  93. <P>
  94. <LI>
  95. WebSite server registered with DNS (optional, but highly recommended)
  96. </UL>
  97. <H3>
  98. Other
  99. </H3>
  100. <UL>
  101. <LI>
  102. System Date/Time set to the correct date, time, and time zone
  103. <P>
  104. <LI>
  105. An account in the Administrator or Backup group for installing WebSite as a
  106. service (NT only)
  107. </UL>
  108. <H3>
  109. Application Development Tools (Optional)
  110. </H3>
  111. <H4>
  112. External Viewers
  113. </H4>
  114. <UL>
  115. <LI>
  116. Graphics viewer such as LView for GIF and JPEG files
  117. <P>
  118. <LI>
  119. Audio player such as WHAM for audio files (may require sound card)
  120. <P>
  121. <LI>
  122. Video viewer such as MPEGPlay for MPEG files
  123. </UL>
  124. <H4>
  125. External editors
  126. </H4>
  127. <UL>
  128. <LI>
  129. HTML editor such as Internet Assistant or HoTMetaL
  130. <P>
  131. <LI>
  132. GIF editor such as HiJaak Pro, LView, LView Pro, or Adobe Photoshop
  133. </UL>
  134. <H4>
  135. CGI Programming Tools
  136. </H4>
  137. <UL>
  138. <LI>
  139. Visual Basic development Environment; Pro version recommended
  140. <P>
  141. <LI>
  142. POSIX Shell and tools from the Windows NT 3.5 Resource Kit
  143. <P>
  144. <LI>
  145. NT Perl programming language
  146. </UL>
  147. <H2>
  148. Hardware Requirements
  149. </H2>
  150. One of the major advantages of the WebSite server is that it runs on readily available, relatively low-cost hardware. Most Web servers on the Internet today run on
  151. expensive UNIX-based computers, which are also more complex to maintain. The
  152. minimum hardware requirement allows WebSite to run at a level of performance
  153. equal to a Web server running on a similarly configured UNIX system. WebSite is
  154. a powerful, rugged server, limited only by the hardware on which you choose to
  155. run it and connect it to the Internet.
  156. <P>
  157. If you expect high volume traffic, we suggest you expand your hardware.
  158. WebSite fully supports symmetric multi-processing (that is, multiple processors in
  159. a single computer). You may also want to investigate a higher speed connection
  160. to the Internet.
  161. <H2>
  162. Software Requirements
  163. </H2>
  164. WebSite has only one basic software requirement: the operating system must be
  165. either Windows NT 3.5 or Windows 95 (Beta version M8 or higher). If you are
  166. using Windows NT as your operating system, you must have enabled long filenames. You can do this on either a FAT formatted volume or an NTFS formatted
  167. volume.
  168. <P>
  169. WebSite has been developed and tested on beta versions of Windows 95 (M8
  170. minimum). The server operates identically on either platform as a desktop application. Only Windows NT supports WebSite running as a service. Once Windows 95
  171. is officially released, a WebSite version will be available
  172. <H2>
  173. Connectivity Requirements
  174. </H2>
  175. Networking and connectivity issues are often at the root of problems you may
  176. encounter when starting WebSite. For that reason, <I>please read this section thoroughly</I>.
  177. <H3>
  178. TCP/IP
  179. </H3>
  180. WebSite requires that your system have a TCP/IP protocol stack installed and
  181. running. TCP/IP is the suite of networking protocols that the World Wide
  182. Web---in fact, the whole Internet---requires. TCP/IP stands for Transmission Control
  183. Protocol/Internet Protocol. You don't need to understand all the nuances of TCP/
  184. IP, but you do have to have it running successfully on your computer to use
  185. WebSite.
  186. <P>
  187. If you are on a networked system or have an existing Internet connection, you
  188. probably don't have to worry about your TCP/IP setup. Check with your network
  189. administrator or Internet service provider to make sure you have the items
  190. required by WebSite.
  191. <P>
  192. If you don't have TCP/IP running, you must first set it up through the Network
  193. option of the Control Panel. For more information on installing and configuring
  194. TCP/IP on your computer, see the operating system's documentation.
  195. <P>
  196. For installing WebSite, you need your computer's IP address. You also must be
  197. sure that your computer has a physical connection to a TCP/IP network (either
  198. internal or the Internet). The rest of this section discusses these requirements.
  199. <P>
  200. Your system must be running TCP/IP, even if you do not plan to allow Internet access.
  201. <H4>
  202. IP address
  203. </H4>
  204. The most important piece of information you need to know about your TCP/IP
  205. setup is the IP address for your computer. The IP address is a set of four
  206. numbers, one to three digits each, separated by periods (or dots). For example,
  207. the IP address for WebSite Central is 198.112.209.138. You will need the IP
  208. address for testing the server.
  209. <H4>
  210. TCP/IP connection to an internal network
  211. </H4>
  212. You can use your WebSite server in one of two ways: (1) as an internal web
  213. server to be reached only by other computers on your internal network, or (2) as
  214. a web server connected to the Internet and reachable by other computers on the
  215. Internet. Whichever way you choose, you must have a physical connection to that
  216. network.
  217. <P>
  218. Using WebSite as an internal web (such as for a department or departments of a
  219. company) requires that the network be running TCP/IP, and tht the computer on
  220. which you install WebSite has a properly configured connection to that network.
  221. If you are on a network, get the IP address of the WebSite computer from your
  222. network administrator.
  223. <H4>
  224. TCP/IP connection to the Internet
  225. </H4>
  226. If you want your web to be reachable by other computers on the Internet, then
  227. you need an Internet connection that puts your computer ``on the Internet.'' There
  228. are three primary ways a computer can be connected to the Internet (as shown in
  229. Figure 1-1).
  230. <P>
  231. <HR>
  232. <I>Figure 1-1: Connecting to the Internet</I>
  233. <P>
  234. <IMG SRC="figs/ws_01_01.gif" ALT="(IMAGE)">
  235. <HR>
  236. <P>
  237. Dial-up shell account
  238. Although inexpensive and readily available, a dial-up shell account will not
  239. work for WebSite because it does not support the TCP/IP protocol suite.
  240. <blockquote>
  241. <B>NOTE</B>
  242. <BR>
  243. Commercial online service providers such as Prodigy, CompuServe, and
  244. America Online currently offer some type of Internet access and expect to
  245. offer fuller access in the near future. However, these services will not
  246. give you the kind of connection necessary to run the WebSite server.
  247. </blockquote>
  248. <P>
  249. PPP or SLIP Account
  250. Also a dial-up account, PPP (Point-to-Point Protocol) or SLIP (Serial Line
  251. Internet Protocol) <I>can</I> work for WebSite because they support TCP/IP and
  252. graphical Web browsers such as Mosaic. A PPP/SLIP account requires a high-speed modem (9600 bps minimum; 14.4K or 28.8K bps are better) to connect
  253. your computer to an Internet service provider. Once the connection is established, your computer is actually part of the Internet. If either type account is
  254. available, we recommend a PPP account.
  255. <P>
  256. Your PPP/SLIP provider will assign an IP address for your computer. The service provider will also assign a name to your computer, provide DNS name
  257. server addresses, and register your computer's name with DNS (see below for
  258. more).
  259. <P>
  260. If you choose to use a PPP or SLIP connection, you will need software to dial
  261. the Internet service provider and establish the proper connection. The
  262. Remote Access Service (RAS) is one way to handle these tasks.
  263. <P>
  264. Most providers of PPP/SLIP accounts charge monthly fees and hourly usage
  265. fees. They may also have special packages for businesses requiring 24-hour
  266. connections. You should discuss various packages with your Internet service
  267. provider before choosing a connection.
  268. <P>
  269. Dedicated Line
  270. The most expensive and difficult to set up, a dedicated line gives you a
  271. full-time, high-speed connection to the Internet. If you expect a lot of traffic on
  272. your WebSite server, you should consider a dedicated line, which requires an
  273. additional piece of hardware, a router, to handle Internet traffic. If you
  274. already have full-time access to the Internet from your computer, you probably have a dedicated line. Check with your network administrator to make
  275. sure your computer is configured correctly and to get its IP address.
  276. <blockquote>
  277. <B>NOTE</B>
  278. <BR>
  279. ISDN (Integrated Services Digital Network) is a specialized type of phone
  280. line that can be used for both voice and data (at the same time). If ISDN
  281. is available from the local phone company, an ISDN line can work for either an on-demand or full-time network and achieve speeds as great as
  282. some leased-line connections. ISDN connections require a special piece
  283. of hardware similar to a modem.
  284. </blockquote>
  285. <H3>
  286. Internet Email Address of the WebSite Administrator
  287. </H3>
  288. During installation WebSite requests the Internet email address for the WebSite
  289. server administrator. This address includes a name and a domain name. The easy
  290. way to spot an Internet email address is to look for the @ separating two names.
  291. For example, <I>website-support@ora.com</I> is the email address for WebSite support.
  292. <P>
  293. The email address can be for any location, not necessarily the system on which
  294. the WebSite server resides. Also, the email address is for the WebSite administrator, not the system administrator (although it may be the same person and thus
  295. the same address).
  296. <H3>
  297. Fully Qualified Domain Name (FQDN)
  298. </H3>
  299. In addition to a unique numeric address (the IP number), every computer that is
  300. on a TCP/IP network (internal or Internet) may also have a unique name, called a
  301. domain name. For example, <I>website.ora.com</I>, <I>www.ncsa.uiuc.edu</I>, and
  302. <I>www.census.gov</I> are domain names used to identify computers connected to the
  303. Internet. You'll notice that these names have multiple pieces separated by periods
  304. (or dots, as they are generally called). The first piece in these domain names is
  305. the hostname; the rest is the name of the domain in which the host exists. You
  306. may be familiar with other shorter or longer domain names and may also realize
  307. that more goes into assigning and using domain names than you care to know.
  308. <P>
  309. For WebSite, the only thing you have to know is the fully qualified domain name
  310. for your server. A fully qualified domain name (FQDN) includes the full hierarchical name of the computer-that is, the hostname and the name of the domain.
  311. An FQDN is written from the most specific address (a hostname) to the least
  312. specific address (a top-level domain). Sometimes fully qualified domain names are
  313. called fully qualified hostnames (FQHN). The designations mean the same thing,
  314. and you may find them used interchangeably in this book and in other WebSite
  315. support materials.
  316. <P>
  317. So if your server's hostname is <I>dopey</I> and the domain is <I>dopey.com</I>, then your
  318. server's FQDN is <I>happy.dopey.com</I>. Either your Internet service provider or
  319. network administrator can provide you with the FQDN for your WebSite server.
  320. <H3>
  321. Domain Name System (Optional)
  322. </H3>
  323. While domain names are easier for people to remember, computers on the
  324. Internet use the numeric IP addresses to communicate with each other. Mapping
  325. IP addresses to fully qualifed domain names is the job of the Domain Name
  326. System (DNS). Domain name servers are set up around the Internet to provide IP
  327. information when you submit a request using a domain name rather than an IP
  328. address.
  329. <P>
  330. Having DNS available for your WebSite server makes interactions with the
  331. Internet faster. To use DNS, you must configure TCP/IP with addresses for DNS
  332. name servers. Again, if you are on a TCP/IP network (internal or Internet), this is
  333. probably already configured for you. Ask your Internet service provider or
  334. network administrator for these addresses.
  335. <H3>
  336. DNS Registration of WebSite Server (Optional)
  337. </H3>
  338. Your Internet service provider or network administrator will know how
  339. to register your server's fully qualified domain name with
  340. DNS. Registering with DNS makes it faster for browsers to find your
  341. WebSite server. It has no effect on how well your server performs, but
  342. it will affect how fast others can reach the information on your web.
  343. <H2>
  344. Application Development Tools
  345. </H2>
  346. Depending on how you plan to use your web, you may want to install some additional software. The following sections describe external viewers, external editors,
  347. and CGI programming tools. You don't have to install them before you install
  348. WebSite, but we want you to know the possibilities before you get too far along.
  349. <H3>
  350. External Viewers
  351. </H3>
  352. One of the most exciting components of the World Wide Web is the wealth of
  353. full-color images, videos, and audio clips it houses. When you want to see (or
  354. hear) these, your browser must launch an external program-or viewer-to
  355. display (or play) them. Although Web browsers are becoming more sophisticated
  356. and may not always require external viewers, at the moment you probably need
  357. an external viewer for each type of multimedia element you wish to view,
  358. whether it is a full-color image, video, or sound. Some typical external viewers are
  359. <UL>
  360. <LI>
  361. Lview for full-color images (GIF or JPEG files)
  362. <P>
  363. <LI>
  364. Wham for audio files (requires a sound card)
  365. <P>
  366. <LI>
  367. MPEGPlay for MPEG movies
  368. </UL>
  369. These viewers and others are available on the Web. We recommend you see the
  370. list managed by the NCSA, which has tested and verified that the viewers listed
  371. work with WinMosaic as well as with Enhanced Mosaic (the browser included
  372. with WebSite). Point your Web browser at <I>http://www.ncsa.uiuc.edu/SDG/Software/WinMosaic/viewers.html</I> to see this list. External viewers are also available at
  373. WebSite Central, the WebSite for WebSite users maintained by technical support
  374. at O'Reilly & Associates (<I>http://website.ora.com/</I>).
  375. <H3>
  376. External Editors
  377. </H3>
  378. As you build your own web, you will be creating text and graphic files. Typically
  379. these are HTML (HyperText Markup Language) and GIF (Graphics Interchange
  380. Format) files. To make working with them easier, you may want to install an
  381. HTML editor and a GIF editor. Since HTML files are ASCII text, you can use the
  382. built-in Notepad. Or you may want to try one of the new specialized editors that
  383. eliminates much of the manual coding. New editors are arriving on the market
  384. almost daily, so our list is far from comprehensive. Some typical editors are
  385. <UL>
  386. <LI>
  387. Internet Assistant or HoTMetaL for HTML files
  388. <P>
  389. <LI>
  390. HiJaak Pro, Adobe PhotoShop, Lview or Lview Pro for GIF files (as well as
  391. JPEG files)
  392. </UL>
  393. If you plan to include audio or video elements to your web, you need appropriate editors for those file formats. Keep up to date on what's new in the world
  394. of external editors through WebSite Central.
  395. <H3>
  396. CGI Programming Tools
  397. </H3>
  398. To write and execute Common Gateway Interface (CGI) programs on your web,
  399. you need a few additional pieces of software. CGI programs allow you to execute
  400. operations in other Windows, DOS, or NT shell applications and return the data
  401. to the web browser. For example, you may have a Windows database of
  402. customer information, which is updated often and needs to be readily available to
  403. your sales people. First, you write a CGI program in Visual Basic to execute a
  404. query on the database. The CGI program is then attached to a URL. To run the
  405. CGI program, the user simply asks a web browser for that URL. The URL accesses
  406. the CGI program, which executes the query and returns the answer to the
  407. browser. CGI programming is thoroughly covered in Chapters 12 through 15 of
  408. this book.
  409. <P>
  410. Depending on what type of CGI programs you write and use on your web, you
  411. may need the following software:
  412. <DL>
  413. <DT>
  414. <B>Visual Basic development environment</B>
  415. <DD>
  416. Used for writing CGI programs that execute other Windows applications such
  417. as Microsoft Access, WordPerfect, or Lotus 123. The Professional version is
  418. recommended, and is required for any serious database work. You do not
  419. need the Visual Basic environment to run Windows CGI programs, such as
  420. those included with WebSite (for example, WebFind) or ones you may get
  421. from other sources. See Chapter 14 for more information.
  422. <P>
  423. <DT>
  424. <B>POSIX shell and tools from the Windows NT Resource Kit 3.5</B>
  425. <DD>
  426. Used for running CGI programs in the POSIX subsystem. These scripts have
  427. usually been developed for the UNIX Korn shell. Note that supporting tools
  428. such as <I>sed</I> and <I>awk</I> are not included in the Resource Kit, but ports of these
  429. tools are available from other sources. See Chapter 15 for more information.
  430. <P>
  431. <DT>
  432. <B>NT Perl programming language</B>
  433. <DD>
  434. Used to create and execute Perl-based CGI programs. Perl is a high-level
  435. programming language that has strong text and file manipulation features and
  436. is well suited to most CGI programming tasks. In fact, Perl is often called the
  437. ``Swiss Army Chainsaw of Programming.'' Many CGI programs that run on
  438. UNIX-based web servers are written in Perl and are readily available on the
  439. Internet. An updated version of NT Perl, which also runs under Windows 95
  440. and supports sockets as file handles, is available on WebSite Central. See
  441. Chapter 13 for more information.
  442. </DL>
  443. <H2>
  444. Service or Application?
  445. </H2>
  446. Under Windows NT the WebSite server can be run as a service or as a desktop
  447. application. There is no difference in performance or operation. You can change
  448. how WebSite is running at any time through the Server Admin application.
  449. <P>
  450. With WebSite as a service, you can start it manually or have it start automatically
  451. whenever the computer is started. The advantage of running WebSite as a service
  452. is that it runs when no one is logged onto the computer, and it can restart automatically without someone having to log in and launch it. You can set up
  453. WebSite to display or not display its icon when it runs as a service.
  454. <P>
  455. With WebSite as a desktop application, you can start it manually or have it start
  456. automatically whenever you log in (by placing it in your startup group). Although
  457. WebSite will not stay running when you log out, you can leave it running and
  458. simply lock your screen to prevent unauthorized use. The advantage of running
  459. WebSite as an application is that it is easier to stop and start, an advantage when
  460. you are initially setting up or administering the server and web.
  461. <P>
  462. We recommend you start by using WebSite as a desktop application. You will
  463. find it easier to set up initially and can switch it to a service later. If you are
  464. already using several other services on your computer and are familiar with how
  465. they work, you may prefer to run WebSite as a service from the beginning.
  466. <H2>
  467. If You Want to Know More
  468. </H2>
  469. If you made it through the checklist, congratulations! If you'd like more information about these topics, we suggest the following books:
  470. <UL>
  471. <LI>
  472. <I>Microsoft Windows NT Installation Guide and System Guide
  473. </I>
  474. <P>
  475. <LI>
  476. <I>Managing Internet Information Services</I>, published by O'Reilly & Associates
  477. <P>
  478. <LI>
  479. <I>The Whole Internet User's Guide and Catalog</I>, published by O'Reilly & Associates
  480. <P>
  481. <LI>
  482. <I>Learning Perl and Programming perl</I>, published by O'Reilly & Associates
  483. <P>
  484. <LI>
  485. <I>Connecting to the Internet</I>, published by O'Reilly & Associates
  486. <P>
  487. <LI>
  488. <I>TCP/IP Network Administration and TCP/IP Network Administration for PCs</I>,
  489. (due May 1995) published by O'Reilly & Associates
  490. <P>
  491. <LI>
  492. <I>DNS and BIND</I>, published by O'Reilly & Associates
  493. <P>
  494. <LI>
  495. <I>The Mosaic Handbook for Microsoft Windows</I>, published by O'Reilly & Associates
  496. </UL>
  497. </BODY>
  498. </HTML>
  499.